<template>
	<view class="layout">
		首页
		<button @click="onClick">弹窗</button>
		<button @click="clearLoading">取消弹窗</button>
		<button @click="stop">停止</button>
	</view>

</template>

<script setup>
	function onClick() {
		uni.showLoading({
			title: '加载中'
		});
	}


	function clearLoading() {
		uni.hideLoading();
	}
	function stop(){
		uni.stopPullDownRefresh()
	}
</script>


<style lang="scss">

</style>